package net.xiduth.events.button;

import net.xiduth.events.ButtonEvent;
import net.xiduth.events.EventManager;
import net.xiduth.game.player.Player;


/**
 * Handles the clicking of the buttons on the money pouch.
 * 
 * @author Tyluur <ItsTyluur@Gmail.com>
 * 
 */
public final class ScreenButtonEvents implements ButtonEvent {

	@Override
	public boolean init() {
		EventManager.register(746, this);
		return EventManager.register(548, this);
	}

	@Override
	public boolean handle(Player player, int interfaceId, int buttonId,
			int packetId, int slotId, int slotId2) {
	//	if (player.getMoneyPouch().handleButtons(interfaceId, buttonId, packetId, slotId2)) return true;
		return false;
	}

}
